510 ON Z GOSUB 6070,6080,6090,6100,6110,6120,6130,6140,6150,6160,6170,6180
520 RETURN
550 REM BASS
560 ON Z GOSUB 6260,6270,6280,6290,6300,6310,6320,6330,6340,6350,6360,6370
570 RETURN
991 REM
992 REM
993 REM +-----------------+
994 REM I DRAW STAFF I
995 REM +-----------------+
996 REM
997 REM
1000 IF NOT T5 THEN HOME
1010 IF SCRN( 4,8) = 15 THEN 1030
1020 GR
1030 D = INT(9 * RND(1))
1035 IF D < >1 AND D < >2 AND D < >4 AND D < >8 OR D = SCRN( 0,0) THEN 1030
1040 COLOR= D
1050 ON CLEF GOTO 1060,1080
1060 FOR X = 0 TO 19: VLIN 0,39 AT X: VLIN 0,39 AT 39 -X: NEXT
1070 GOTO 1090
1080 FOR Y = 0 TO 19: HLIN 0,39 AT Y: HLIN 0,39 AT 39 -Y: NEXT
1090 COLOR= 11: ON CLEF GOTO 1100,1120
1100 FOR Y = 9 TO 18: HLIN 1,38 AT Y: HLIN 1,38 AT 37 -Y: NEXT
1110 GOTO 1130
1120 FOR X = 1 TO 19: VLIN 9,27 AT X: VLIN 9,27 AT 39 -X: NEXT
1130 COLOR= 6
1140 FOR Y = 8 TO 28 STEP 5
1150 HLIN 1,38 AT Y
1160 NEXT Y
1170 VLIN 8,28 AT 0: VLIN 8,28 AT 39
1180 COLOR= 15
1190 ON CLEF GOSUB 1210,1250
1200 RETURN
1210 REM TREBLE CLEF
1220 VLIN 4,30 AT 4: PLOT 3,30: PLOT 5,6: VLIN 7,9 AT 6: VLIN 10,11 AT 5: VLIN 13,14 AT 3: VLIN 14,15 AT 2: VLIN 16,18 AT 1: VLIN 18,23 AT 0: VLIN 23,24 AT 1: VLIN 24,25 AT 2: VLIN 25,27 AT 3: VLIN 25,27 AT 5
1230 VLIN 24,25 AT 6: VLIN 21,24 AT 7: VLIN 19,20 AT 6: HLIN 3,5 AT 18: VLIN 19,20 AT 2
1240 TP = TP +6: RETURN
1250 REM BASS CLEF
1260 HLIN 3,5 AT 8: VLIN 9,10 AT 2: VLIN 10,14 AT 1: VLIN 14,15 AT 2: VLIN 15,16 AT 3
1270 VLIN 9,10 AT 6: VLIN 11,17 AT 7: VLIN 17,18 AT 6: VLIN 19,20 AT 5: VLIN 21,22 AT 4
1280 VLIN 21,22 AT 3: VLIN 10,11 AT 9: VLIN 15,16 AT 9: PLOT 2,23
1290 BP = BP +6: RETURN
1991 REM
1992 REM
1993 REM +------------------+
1994 REM I DRAW A NOTE AT I
1995 REM I (X,Y) I
1996 REM +------------------+
1997 REM
2000 COLOR= 12
2010 IF Y >30 THEN GOSUB 2130
2030 IF FLAG THEN COLOR= 0
2040 HLIN X +1,X +2 AT Y -1
2050 HLIN X,X +3 AT Y
2060 HLIN X,X +3 AT Y +1
2070 HLIN X +1,X +2 AT Y +2
2080 IF Y <9 THEN 2110
2090 VLIN Y -10,Y AT X +3
2100 RETURN
2110 VLIN Y,Y +10 AT X: RETURN
2120 REM LEGER LINE
2130 COLOR= 6
2140 HLIN X -1,X +4 AT Y
2150 COLOR= 12: RETURN
3991 REM
3992 REM
3993 REM +-----------------+
3994 REM I IDENTIFY NOTES I
3995 REM +-----------------+
3996 REM
4000 REM
4010 A = 0
4020 FOR X = 9 TO 35 STEP 5
4030 HOME
4040 PD = 0
4060 A = A +1
4080 FOR T = 1 TO DF
4085 FL = (T/2 = INT(T/2))
4090 IF FLAG THEN 4100
4095 FLAG = 0
4100 Y = Y1(A)
4110 GOSUB 2000
4120 GOSUB 4500
4125 IF PEEK( -16287) >127 THEN FLAG = 1:T = DF: NEXT T: GOSUB 2000: GOTO 4140
4130 FOR D = 1 TO DF: NEXT D,T
4135 GOTO 4260
4140 VTAB 23: HTAB 21:ANS$ = P$
4160 T = 0
4170 N = NTE(A):FLAG = 1
4175 PI = PI(A): IF ANS$ < >NTE$(A) THEN 4195
4177 ON CLEF GOSUB 6040,6230
4180 TS = TS +((ANS$ = NTE$(A)) *(CLEF = 1))
4190 BS = BS +((ANS$ = NTE$(A)) *(CLEF = 2))
4193 GOSUB 7000: GOTO 4230
4195 HOME
4200 PRINT "SORRY "NAME$", BUT YOU'RE WRONG..."
4202 IF DF = 10 THEN 4208
4204 PRINT "THE CORRECT ANSWER WAS ";: FLASH : PRINT NTE$(A);: NORMAL : PRINT ".";
4206 GOTO 4210
4208 PRINT : FLASH : HTAB 9: PRINT " BETTER LUCK NEXT TIME! ": NORMAL
4210 GOSUB 5000
4220 FOR D = 1 TO 1500: NEXT
4230 FLAG = 0: GOSUB 2000: NEXT
4240 ON CLEF GOSUB 6000,6190
4245 DF = DF -5
4247 DF = DF +5 *(DF = 5)
4250 RETURN
4260 PI = PI(A)
4265 HOME : PRINT "OH, "NAME$" - YOUR TIME IS UP!"
4275 IF DF = 10 THEN 4290
4280 PRINT : PRINT "THIS NOTE IS ";: FLASH : PRINT NTE$(A);: NORMAL : PRINT ".";
4290 GOSUB 5000: GOTO 4220
4500 TI = 1 + INT( PDL(0)/36.4):TI = TI -(TI -7) *(TI >7): IF PD = TI THEN RETURN
4505 INVERSE : VTAB 21: PRINT " A B C D E F G ": NORMAL